package com.molichuxing.services.infrastructure.bean;

import com.molichuxing.framework.bean.RootBean;

import java.time.LocalDateTime;

public class RecycleCarsBean extends RootBean {
    /**
     * id
     */
    private Integer id;

    /**
     * 订单号 order_code
     */
    private Long orderCode;

    /**
     * 用户id user_id
     */
    private Integer userId;

    /**
     * 车辆id car_id
     */
    private Integer carId;

    /**
     * 预收中转库 stock_id
     */
    private Integer stockId;

    /**
     * 收车状态（1：收车失败，2：已收车，3：已丢失，4：已报废，5：已售出） recycle_state
     */
    private Integer recycleState;

    /**
     * 备注 remark
     */
    private String remark;

    /**
     * 收车操作时间 recycle_time
     */
    private LocalDateTime recycleTime;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 修改时间 gmt_modified
     */
    private LocalDateTime gmtModified;

    /**
     * orders_recycle_cars
     */
    private static final long serialVersionUID = 1L;

    /**
     * @return id
     * @date 2020-07-22 17:26:44
     */
    @Override
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     * @date 2020-07-22 17:26:44
     */
    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 订单号
     *
     * @return order_code 订单号
     * @date 2020-07-22 17:26:44
     */
    public Long getOrderCode() {
        return orderCode;
    }

    /**
     * 订单号
     *
     * @param orderCode 订单号
     * @date 2020-07-22 17:26:44
     */
    public void setOrderCode(Long orderCode) {
        this.orderCode = orderCode;
    }

    /**
     * 用户id
     *
     * @return user_id 用户id
     * @date 2020-07-22 17:26:44
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 用户id
     *
     * @param userId 用户id
     * @date 2020-07-22 17:26:44
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 车辆id
     *
     * @return car_id 车辆id
     * @date 2020-07-22 17:26:44
     */
    public Integer getCarId() {
        return carId;
    }

    /**
     * 车辆id
     *
     * @param carId 车辆id
     * @date 2020-07-22 17:26:44
     */
    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    /**
     * 预收中转库
     *
     * @return stock_id 预收中转库
     * @date 2020-07-22 17:26:44
     */
    public Integer getStockId() {
        return stockId;
    }

    /**
     * 预收中转库
     *
     * @param stockId 预收中转库
     * @date 2020-07-22 17:26:44
     */
    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    /**
     * 收车状态（1：收车失败，2：已收车，3：已丢失，已报废，已售出）
     *
     * @return recycle_state 收车状态（1：收车失败，2：已收车，3：已丢失，已报废，已售出）
     * @date 2020-07-22 17:26:44
     */
    public Integer getRecycleState() {
        return recycleState;
    }

    /**
     * 收车状态（1：收车失败，2：已收车，3：已丢失，已报废，已售出）
     *
     * @param recycleState 收车状态（1：收车失败，2：已收车，3：已丢失，已报废，已售出）
     * @date 2020-07-22 17:26:44
     */
    public void setRecycleState(Integer recycleState) {
        this.recycleState = recycleState;
    }

    /**
     * 备注
     *
     * @return remark 备注
     * @date 2020-07-22 17:26:44
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     *
     * @param remark 备注
     * @date 2020-07-22 17:26:44
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 收车操作时间
     *
     * @return recycle_time 收车操作时间
     * @date 2020-07-22 17:26:44
     */
    public LocalDateTime getRecycleTime() {
        return recycleTime;
    }

    /**
     * 收车操作时间
     *
     * @param recycleTime 收车操作时间
     * @date 2020-07-22 17:26:44
     */
    public void setRecycleTime(LocalDateTime recycleTime) {
        this.recycleTime = recycleTime;
    }

    /**
     * 创建时间
     *
     * @return gmt_create 创建时间
     * @date 2020-07-22 17:26:44
     */
    @Override
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 创建时间
     *
     * @param gmtCreate 创建时间
     * @date 2020-07-22 17:26:44
     */
    @Override
    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 修改时间
     *
     * @return gmt_modified 修改时间
     * @date 2020-07-22 17:26:44
     */
    @Override
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    /**
     * 修改时间
     *
     * @param gmtModified 修改时间
     * @date 2020-07-22 17:26:44
     */
    @Override
    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        RecycleCarsBean other = (RecycleCarsBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                && (this.getOrderCode() == null ? other.getOrderCode() == null : this.getOrderCode().equals(other.getOrderCode()))
                && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
                && (this.getCarId() == null ? other.getCarId() == null : this.getCarId().equals(other.getCarId()))
                && (this.getStockId() == null ? other.getStockId() == null : this.getStockId().equals(other.getStockId()))
                && (this.getRecycleState() == null ? other.getRecycleState() == null : this.getRecycleState().equals(other.getRecycleState()))
                && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
                && (this.getRecycleTime() == null ? other.getRecycleTime() == null : this.getRecycleTime().equals(other.getRecycleTime()))
                && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
                && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrderCode() == null) ? 0 : getOrderCode().hashCode());
        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
        result = prime * result + ((getCarId() == null) ? 0 : getCarId().hashCode());
        result = prime * result + ((getStockId() == null) ? 0 : getStockId().hashCode());
        result = prime * result + ((getRecycleState() == null) ? 0 : getRecycleState().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getRecycleTime() == null) ? 0 : getRecycleTime().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }

    /**
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderCode=").append(orderCode);
        sb.append(", userId=").append(userId);
        sb.append(", carId=").append(carId);
        sb.append(", stockId=").append(stockId);
        sb.append(", recycleState=").append(recycleState);
        sb.append(", remark=").append(remark);
        sb.append(", recycleTime=").append(recycleTime);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}